
public class ServerProfile {
	private static String IPAddress;
	private static int Port;
	private static int RTPPort;
	private static String Name;
	
	public ServerProfile(){
		IPAddress = "192.168.1.5";
		Port = 5060;
		RTPPort = 16390;
		Name = "server";
	}
	
	public ServerProfile(String IPAddress, int port, int RTPPort, String Name){
		ServerProfile.IPAddress = IPAddress;
		ServerProfile.Port = port;
		ServerProfile.RTPPort = RTPPort;
		ServerProfile.Name = Name;
	}
	
	public String getIPAddress(){
		return IPAddress;
	}
	
	public int getPort(){
		return Port;
	}
	
	public int getRTPPort(){
		return RTPPort;
	}
	
	public String getContact(){
		return "Contact: <sip:" + ServerProfile.Name + "@" + ServerProfile.IPAddress + ":" + ServerProfile.Port + ";transport=udp>";
	}
}
